*******************************************************************************************
***		    	JVSEmu TaitoX/X2 System Emulator Version 1.1	   (06/21/2017)	***
***					Special Thanks,					***
***					    Romhack					***
***											***
***	Homepage: http://8ch.net/1cc/index.html						***
***					      				      by FlyBit	***
*******************************************************************************************
[ Romhack ] - By rewriting the typex_io emulator.


********************** [ HISTORY ] **********************

Current version (JVSEmu v1.1):
- Added search function of CryptServer keys * .key
- Fixed Winmm Poll

First release (JVSEmu v1.0)
- CryptServer emulation support.
- DirectSound wrapper support.
- DirectX9c wrapper support.
- Window Mode Support.
- Support for individual game options.
- Support the creation of the sv folder in the current directory.
- Support for XBox control.
- Support for joysticks using Winmm and GetAsyncKeystate.
- It works on WindowsXP. ( Remove the file dinput8.dll )


********************** [NOTES ABOUT JVSEmu] *************************

- JConfig also configures the JVSEmu.dll.
- Run the jvs_loader.exe file to load the TaitoX/X2 games.


********************** [ NOTES ABOUT JConfig ] **********************

- High Resolution: On/Off Sets the game to run in 480P or 720P Natively.

- DirectSound Wrapper: Enable/Disable Directsound Wrapper ( Fixes sound issues in some games related to certain audio devices ).

- Direct3D9 Wrapper*: Enable/Disable D3D9 Hook, with this enabled you can Force the game's internal Resolution to render at the defined Resolution.
- DX Window Mode*: Enable/Disable Attempt to force the game into a windowed state the windows size can be defined with the window settings.

*All DX Related Hooks Will only work if the game is a Directx 9 Game, and not all games are supported.

- Delay: Adds a pause in the poll loop of the joysticks.

- Reverse: Reverse the order of the joysticks.

- CreateThread for Joysticks: Creates a parallel thread to read the joysticks, not interfering with the flow  
the emulator's main engine. Disable this item when games are out of sync with the machine.

- Joystick Type: Four different types of readings for joysticks.
-- Dinput&Xinput: Only works by disabling the CreateThread for Joysticks option.
-- DInput (Default)
-- Xinput (XBox Gamepad)
-- Winmm
-- GetAsyncKeystate

Commands for GetAsyncKeyState.
P1START		[1]
P1COIN		[2]
P1SERVICE	[6]
P1UP		[W]
P1DOWN		[S]
P1LEFT		[A]
P1RIGHT		[D]
P1BUTTON1	[U]
P1BUTTON2	[I]
P1BUTTON3	[O]
P1BUTTON4	[J]
P1BUTTON5	[K]
P1BUTTON6	[L]
P2START		[3]
P2COIN		[4]
P2SERVICE	[7]
P2UP		[UP]
P2DOWN		[DOWN]
P2LEFT		[LEFT]
P2RIGHT		[RIGHT]
P2BUTTON1	[NUMPAD7]
P2BUTTON2	[NUMPAD8]
P2BUTTON3	[NUMPAD9]
P2BUTTON4	[NUMPAD4]
P2BUTTON5	[NUMPAD5]
P2BUTTON6	[NUMPAD6]
TESTMODE	[8]
EXIT		[9]

- XBox Single Joystick: When the XBox control is connected together with some control:
Enabled: Generic Joystick1, Generic Joystick2, Xbox Joystick3, Xbox Joystick4;

Disable: Generic Joystick1 = Xbox Joystick1
	 Generic Joystick2 = Xbox Joystick2.

- DEADZONE Sensitivity: Changes the pickup sensitivity of the joystick axes.

- Button Settings [ NESiCA Settings ]:

-- Individual Game Settings:
Enable/Disable this allows per game overrides in settings.

--- Coins Per Credit: The amount of coins required for play 0 will set Fast Io games to freeplay.
	1 - Coins Active (Game requires coins)
	0 - Free Play on (Game is FREE play)

--- Resolution HD Mode: On/Off Fast IO Game's version of High Res Mode. On for 720p Off for 480.
	1 = HD mode 1280x720
	0 = SD mode 640x480

--- Screen Vertical: On/Off  If enabled , Games that support tate mode will be Rotated by 90.
	0 = Horizontal Screen mode (Normal play mode)
	1 = Vertical Screen mode (TATE mode)

Load RegEdit Attempts to Load the default keys out of YOUR windows registry allowing you to change the settings and SAVE 
the changes, these settings only apply when individual mode is turned off, JConfig MUST be ran as admin to do this. 

-- Load Regedit: Allows access to the universal NESiCA settings.
Loads or Creates the options in the system registry.

-- Save Regedit: Saves changes to the system registry.

-- CryptServer Emulation: Enable/Disable emulation of cryptography keys.

-- Save Path: Enable/Disable Attempts to patch the game to force all SAVE DATA to be placed in the SV folder inside the main game.


********************** [ADDITIONAL NOTES] **********************

To run the games, they depends on 1 external program:
Run the program below separately OR select the option in JConfig.
NOTE: Don't use both at the same time!

- Cryptserver.exe
- Run the command Cryptserver.exe <path of key.key>
or
- Select the Crypserver Emulation option and leave the key in the game directory.

NOTE2: It isn't always necessary to use Cryptserver.exe, see table below.


Games that have no instruction, run directly from the executable.
 ______ ________________________________________________________ _____________ _______ _________________________________
|      |                         Game                           | CryptServer | D3D9  |              Note               |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  01  |Arcana Heart                                            |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  02  |Battle Fantasia                                         |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  03  |Betamania IDX17: Sirius                                 |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  04  |Blazeblue Calamity Trigger                              |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  05  |Blazeblue Lazblue Continuum Shift                       |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  06  |Daemon Bride                                            |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  07  |Chaos Breaker                                           |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  08  |Gigawing Generation                                     |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  09  |Homura                                                  |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  10  |The King of Fighters - Maximum Impact Regulation A      |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  11  |The King of Fighters XII                                |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  12  |The King of Fighters XIII                               |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  13  |The King of Fighters XIII Climax                        |      X      |       |   TypeXmulti\txac\303002.key    |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  14  |The King of Fighters 98 Ultimate Match                  |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  15  |The King of Fighters Sky Stage                          |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  16  |Otomedius                                               |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  17  |Power Instinct 5 Matrimelee 2                           |             |       |                                 |
|      |Goketsuji Ichizoku Matsuri Senzo Kuyou                  |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  18  |Raiden III                                              |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  19  |Raiden IV                                               |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  20  |Samurai Shodown Sen - Edge of Destiny                   |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  21  |Shikigami no Shiro III                                  |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  22  |Spica Adventure                                         |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  23  |Street Fighter IV                                       |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  24  |Suggoi! Arcana Heart 2                                  |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  25  |Super Street Fighter IV                                 |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  26  |Super Street Fighter IV v1.3                            |      X      |       |           300200.key            |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  27  |Taisen Hot Gimmick 5                                    |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  28  |Tetris The Grand Master 3                               |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|  29  |Trouble Witches                                         |             |       |                                 |
|------|--------------------------------------------------------|-------------|-------|---------------------------------|
|      |                                                        |     2X      |       |                                 |
 ------ -------------------------------------------------------- ------------- ------- --------------------------------- 
X - Required
* - Optional